package com.dtwave.wechat.service.provider.service;

import com.baomidou.mybatisplus.service.IService;
import com.dtwave.wechat.service.api.dto.req.ReqUserDto;
import com.dtwave.wechat.service.provider.database.entity.UserEntity;
import com.dtwave.wechat.service.provider.dto.UserDto;

import java.util.List;

/**
 * @Auther: liuwenxiang
 * @Date: 2018/12/17 19:58
 * @Description:
 */
public interface UserService  extends IService<UserEntity> {


    List<UserEntity> selectListByPage(ReqUserDto req);

    long selectAmount(ReqUserDto req);

    UserDto selectByPhone(String phone);

    int delUserOfficeRelation();

    int addUserOfficeRelation(String userId,Integer officeId);

}
